//
//  SCMessageViewController.swift
//  weibo
//
//  Created by 阿城 on 15/12/5.
//  Copyright © 2015年 阿城. All rights reserved.
//

import UIKit


class SCMessageViewController: SCBasicTableViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        setupUI()
    }
    
    @objc private func MessageClick(){
        printLog("MessageClick")
        
    }
    
    private func setupUI(){
        if visitorView != nil {
            
            visitorView?.setDetail("visitordiscover_image_message", text: "登录后,别人评论你的微博,发给你的消息,都会在这里收到通知")
            return
        }
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "发现群", target: self, action: "MessageClick")
        
        tabBarItem.badgeValue = "10"
        

        
    }
    
    
    
}











